package com.itheima.睿抗;
/**
 * ^_^
 * Ok!
 * Need more!
 * Too late!
 */
/*6
5 20 2000
5 20 1800
5 20 1700
6 21 1800
7 11 2000
7 12 2500
3
6 20 2000
6 20 1800
6 20 1700
^_^
Ok!
Need more!
Need more!
Ok!
Too late!
*/
import java.util.Scanner;

public class ifpanduan {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        int N = in.nextInt();
        for (int i = N; i > 0; i--) {
            int M = in.nextInt();
            int D = in.nextInt();
            int C = in.nextInt();
            if (M >= 7 && D > 11) {

                System.out.println("Too late!");
            } else if (M <= 5) {
                if (C == 1800) {
                    System.out.println("Ok!");
                }
                if (C > 1800) {
                    System.out.println("^_^");
                }
                if (C < 1800) {
                    System.out.println("Need more!");
                } else if (M <= 6 && D <= 20) {
                    if (C == 1800) {
                        System.out.println("Ok!");
                    }
                    if (C > 1800) {
                        System.out.println("^_^");
                    }
                    if (C < 1800) {
                        System.out.println("Need more!");
                    }
                } else {
                    if (C == 2000) {
                        System.out.println("Ok!");
                    }
                    if (C > 2000) {
                        System.out.println("^_^");
                    }
                    if (C < 2000) {
                        System.out.println("Need more!");
                    }
                }
            }
        }

    }
}
